﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

public class InputButton : MonoBehaviour
{
    public InputField playerNameText;
    public void GetPlayerName()
    {
        GameManager.SetPlayerName(playerNameText.text);
        GameManager.gameTime = 0f;
        SceneManager.LoadScene(1);
    }
}
